home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 001a / getwx10.zip / GETWX10.TXT < prev    next >
Text File  |  1990-11-29  |  71KB  |  2,098 lines

  1.                            GETWX10.EXE
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.                           Chris Seeber
  15.                       255 Carolina Back Rd.
  16.                       Charlestown, RI 02813
  17.  
  18.  
  19.  
  20.  
  21.      Information Resource System BBS  (401) 539-8636
  22.      South Shore BBS                  (401) 364-9788
  23.  
  24.  
  25.  
  26.  
  27.                                         November 29, 1990
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.                            CONTENTS
  72.  
  73. Chapter        Title                                         Page
  74.   
  75.   1...........Introduction....................................2
  76.  
  77.   2...........Notation used in this Document..................2
  78.  
  79.   3...........Program Names...................................3
  80.  
  81.   5...........GETWX10.EXE.....................................4
  82.  
  83.                Start-up.......................................4
  84.  
  85.                Configuring Your System........................5
  86.  
  87.                Screen Explanation.............................8
  88.  
  89.                Routine Observations...........................11
  90.  
  91.                Midnight Routine - Daily.......................11
  92.  
  93.                Midnight Routine - Monthly.....................13
  94.  
  95.                Function Keys..................................13
  96.  
  97.   6...........ID5SHORT.EXE....................................16
  98.  
  99.   7...........ASCII file descriptions.........................18
  100.  
  101.   8 ..........Memory Requirement Summary......................23
  102.  
  103.   9...........Disk Space Requirements.........................23
  104.  
  105.  10...........Operation with Multi-tasking Software...........25
  106.  
  107.  11...........Troubleshooting.................................26
  108.  
  109.  12...........Automatic commands..............................27
  110.  
  111.  13...........Disclaimer......................................30
  112.  
  113.  14...........Acknowledgements................................31
  114.  
  115.  15...........Order Form......................................31
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.                                  -1-
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.                          INTRODUCTION
  139.  
  140.      GETWX is a program written to communicate with the Heath
  141. Model ID5001 Weather Computer.
  142.  
  143. It automatically sends commands to the ID5001 and retrieves the
  144. results.  The results are displayed on the screen.
  145.  
  146. They are also saved to disk, on a directory that you choose, at
  147. intervals that you choose.
  148.  
  149. As the readings are stored to disk, they are scrolled up the
  150. screen, so you can observe the observations over the last few hours.
  151.  
  152.      There are also provisions for the user to insert
  153. observations manually, to add remarks to the data on the disk,
  154. and to display past observations.
  155.  
  156.      The user can determine the serial port to use, the baud rate
  157. of the communication link, and the disk drive and directory he
  158. (she) would like the data files saved on.
  159.  
  160.      The program is fairly small in size for use in multi-tasking
  161. systems such as Desqview.
  162.  
  163.      There are also a number of other functions to calculate
  164. high, low, and average readings.
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.                  NOTATION USED IN THIS DOCUMENT
  176.  
  177.      There are a few notation conventions that you should
  178. remember when reading this document.  The following abbreviations
  179. are used:
  180.  
  181.      YY  This is referencing the year with two digits.  I.E. If
  182.      the year was 1990, YY would be 90.  If the year was 1994, YY
  183.      would be 94.  If the year was 2010, YY would be 10.
  184.      
  185.      MM is the month number represented by two digits.  January
  186.      would be 01, while November would be 11.
  187.  
  188.      DD is the number of the day.
  189.  
  190. Example:  If June 12, 1990 was to be represented in the format
  191. YYMMDD, the representation would read 900612.  If it was to be
  192. represented in the format MM-DD-YY, it would read 06-12-90.
  193.  
  194.  
  195.                                   -2-
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.      A <> surrounding a word means to press the key's name that
  204.      appears between the < and >.  
  205.  
  206. Example:  If the document stated press <ENTER>, it means to press
  207. the enter key on the keyboard.  On some keyboards, the <ENTER>
  208. key may be labeled <RETURN>.
  209.  
  210.      A [] surrounding a word means that the word between the [
  211.      and ] is a variable.  It should be replaced by an
  212.      appropriate word.
  213.  
  214. Example:  If the document stated insert [filename] at the prompt,
  215. you should insert the name of the file where [filename] appears
  216. in the Doc.  Do not include the [ or ] in the command you type.
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.                           PROGRAM NAMES
  228.  
  229.      The following programs should be included in getwx1.zip
  230. packet:
  231.  
  232.      GETWX10.EXE              Main program
  233.  
  234.      ID5SHORT                 GETWX program of reduced size with
  235.                               reduced capabilities.
  236.  
  237.      GETWX10.DOC              Documentation.
  238.  
  239. If any of these programs are missing, please contact the author.
  240.  
  241.      The following files are created by GETWX10 while it is
  242. operating:
  243.  
  244.      YYMMDD.OBS               This is the file where the 
  245.                               observations are saved.  It is     
  246.                               updated every 10, 30, or 60
  247.                               minutes, depending on your choice. 
  248.                               
  249.      GUSTFILE                 This is a temporary file that is
  250.                               used by the program.  No useful
  251.                               information is stored here for the
  252.                               user.  It is where the high gust
  253.                               information is stored whenever an
  254.                               observation is saved in YYMMDD.OBS.
  255.                               It is erased each night a midnight.
  256.  
  257.  
  258.  
  259.  
  260.                                   -3-
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.      MM-YY.AVG                This file contains average    
  269.                               information for each day.  It is
  270.                               updated at midnight.
  271.  
  272.      MM-YY.TEM                High and low information for
  273.                               pressure and temperature are stored
  274.                               here.  This file is updated each
  275.                               night at midnight.
  276.  
  277.      MM-YY.HUM                High and low information for
  278.                               humidity is stored here.  Updated
  279.                               each night at midnight.
  280.  
  281.      MM-YY.WND                High and low information for wind
  282.                               is stored here.  Updated each night
  283.                               at midnight.
  284.  
  285.      In each case above, YY stands for the year, MM stands for
  286. the month, and DD stands for the day.  I.e. 900612.OBS would
  287. contain the routine observations for June 12, 1990.  06-90.AVG
  288. would contain the average readings taken for the month of June,
  289. 1990.
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.                            GETWX10.EXE
  302.  
  303. Start-up
  304.  
  305. GETWX10.EXE is the heart of the system.  After you have set
  306. up your configuration to match your system the first time you run
  307. the program, all you have to do is type GETWX10, and the program
  308. will begin.
  309.  
  310. It takes about 30 seconds for the program to start.  You may bypass
  311. this 30 second wait time by pressing <N> when the configuration screen
  312. is present.
  313.  
  314. If this is the first time you're starting this program, you should
  315. read the next paragraph "Configuring Your System" before you go any
  316. further.  If you don't, at least, configure your communication settings
  317. properly, or else your computer may crash, and you'll have to reboot it.
  318.  
  319. Once the configuration process is terminated, and the program is
  320. running, no user intervention is necessary, and the program will
  321. continue running indefinitely.
  322.  
  323.  
  324.  
  325.                                   -4-
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335. Configuring Your System
  336.  
  337. There are a number of options in the opening screen to configure your
  338. system to your liking. The following options are available:
  339.  
  340.  
  341.      1.  Color on 7 different parts of the screen.
  342.  
  343.      2.  Communications rate with the ID5001.
  344.  
  345.      3.  The communications port you are using on your PC to      
  346.          communicate with the ID5001.
  347.  
  348.      4.  The disk drive and directory you want your weather data
  349.          files stored in.
  350.  
  351.      5.  The interval of which you want your observations taken.
  352.  
  353.  
  354. Once you have chosen the configuration, it will be stored in the
  355. GETWX10 program, so the next time you start the program, you won't have
  356. to reconfigure anything unless you want to change something.
  357.  
  358. When you first start the program up, your present configurations will
  359. be displayed on the screen, along with a message asking you if you want
  360. to change anything, or leave them as they are.
  361.  
  362. There is also a count - down timer near the bottom center of the screen
  363. telling you how long you have to respond before the program starts
  364. itself with your present configuration settings.
  365.  
  366. You have about 30 seconds to respond to the prompt.
  367.  
  368. If you respond <N>, the configuration mode will exit, and the
  369. observation part of the program will start running.  The
  370. configuration defaults, as sent with the disk before you change
  371. anything are:
  372.  
  373.  
  374.      All colors            :  white on black
  375.  
  376.      Communications port   :  COM1
  377.  
  378.      Baud                  :  9600
  379.  
  380.      Directory             :  C:\wx\
  381.  
  382.      Observation intervals : Every 10 minutes
  383.  
  384.  
  385. If you type <Y> to the prompt, you will enter the configuration
  386. menu.
  387.  
  388. The first question will ask you what color you want your
  389. main screen color to be.  This is the area of the screen where past
  390. observations go from row 4 to row 23.
  391.  
  392.  
  393.  
  394.                                   -5-
  395.  
  396.  
  397.  
  398.  
  399.  
  400. Move the square around on the color menu with the arrow keys until
  401. you find a color that you want.  When you've chosen the color, press
  402. <ENTER> to select it.
  403.  
  404. The next question will appear on the right half of the bottom line of
  405. the display, asking you what color you want the soft key readout to be.
  406.  
  407. The soft-key readout is displayed along the bottom line of the display
  408. and shows you the user intervention features that are possible.  Move
  409. the square around the color menu in the same fashion you did for the
  410. main screen color.
  411.  
  412. The next question will be displayed on the left half of the bottom
  413. line, and will ask you what color you want the F Keys to be in.  The
  414. F Keys tell you what F key to press to invoke the user intervention
  415. features.  For example:
  416.  
  417.         F1: Remarks
  418.         ^^^     ^^^
  419.         F Key  Soft-key
  420.  
  421. The next color to change will be the present weather color.  This is on
  422. the second to the bottom row of the display, and will continuously show
  423. the present weather as reported by the ID5001.
  424.  
  425. The next color is the status color, and the prompt will be in the right
  426. half of the top line of the screen.  This area of the screen tells you
  427. what mode the program is in.  This section is explained further in the
  428. Options section of this manual.
  429.  
  430. The next prompt will appear in the left half of the top line of the
  431. display.  It will ask you for the color you want the date to be.  The
  432. date of the display is always displayed in the top left corner of the
  433. screen.
  434.  
  435. The last color prompt will appear in the left half of the second line
  436. of the display.  It will ask for the colors you want the titles or
  437. headers to be in.  These are displayed on the 2nd and 3rd rows of the
  438. display to label the values in each column.
  439.  
  440. At this point, you will be shown the finished color configuration of
  441. the screen, and will be asked if you want to <C>ontinue (move to the
  442. next configuration menu), <R>eturn (start at the beginning color
  443. configuration menu again), or <Q>uit (exit the program).  Type <C>,
  444. <R>, or <Q> depending on your choice.
  445.  
  446. If you chose <C>ontinue, a prompt will come up on the screen
  447. asking you for the baud of the communications link between the
  448. ID5001 and your PC.
  449.  
  450. Enter the number here that matches what you have your ID5001 set at for
  451. baud.  You may enter any number that the ID5001 supports.  The choices
  452. are 110, 300, 600, 1200, 2400,4800, and 9600.
  453.  
  454. If you don't answer with one of these numbers, the prompt will be
  455. repeated.  Be sure your ID5001 is set up for the same speed, otherwise
  456. the program will hang up and you'll have to reboot your computer.
  457.  
  458.  
  459.                                   -6-
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466. I would suggest that you use the 9600 baud speed, as this will allow
  467. the program to run at it's fullest potential.  However, if you have an
  468. extremely fast computer, the system may not work, and you may have to
  469. slow the rate down a little.
  470.  
  471. You may simply hit <RETURN>  if you want to use the default speed which
  472. is displayed at the prompt.
  473.  
  474. After you have chosen the baud, you will be asked for a COM port.  This
  475. is the serial port number on your computer that you have connected the
  476. ID5001 to.  COM1, COM2, COM3, and COM4 are supported, however, COM3 and
  477. COM4 have not been tested at this time and there may be interrupt
  478. problems when trying to use them.
  479.  
  480. If COM3 or COM4 don't work, you'll have to restrict yourself to COM1 or
  481. COM2.  If you choose any number other than 1, 2, 3, or 4, you'll be
  482. asked the question again.
  483.  
  484. You may enter <RETURN> to use the default COM port which is displayed
  485. at the prompt.
  486.  
  487. After you have chosen the COM port, you will be asked to choose a
  488. directory where you want your data stored.  You must enter it in the
  489. form [Drive]:[Directory]\[sub-directory]\[sub-directory].
  490.  
  491. This is the directory where all your .OBS, .TEM, .HUM, .AVG, and .WND
  492. files are stored.  (See the file descriptions in the paragraph above).
  493. If the directory doesn't exist, it will be created.  If it does exist,
  494. you will be told it exists, and will be asked if you want to use it.
  495. Type <Y> or <N> (for yes or no respectively) at the prompt.
  496.  
  497. The final configuration question asks you how often you want your
  498. routine observations saved to disk.  You may choose every 10 minutes
  499. (A), every 1/2 hour (B), or once every hour, on the hour (C).
  500.   
  501. After you have made this choice, you will be shown the configurations
  502. that you have chosen, along with the amount of disk space you have on
  503. the disk you chose when you chose the directory.
  504.  
  505. You will be asked if you want to <R>econfigure, <C>ontinue, or <Q>uit.
  506. If you choose <R>, you will be returned to the prompt asking you what
  507. baud you want to communicate at, and will continue with the prompts
  508. following it.  If you choose <Q>, the program will exit back to DOS.
  509.  
  510. If you choose <C>, you will receive another prompt asking if you want
  511. to save your configuration to disk.
  512.  
  513. If you answer <N>o, the program will begin running with the
  514. configurations that you just chose.  However, if you terminate the
  515. program, the configurations that you chose will be lost.
  516.  
  517. If you answer <Y>es, the configurations that you chose will be stored
  518. in the GETWX10 program.  Now, if you terminate the program and restart
  519. it, the configurations that you chose will be the default
  520. configurations the next time you start the program.
  521.  
  522.  
  523.  
  524.                                   -7-
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532. I recommend that the first time you run the configuration, to answer
  533. <Y> to this lat prompt, so the program will be set up to work within
  534. the parameters of your system the next time you start it up.
  535.  
  536. This is particularly useful if you have a power failure and you have
  537. your autoexec.bat file configured to start GETWX when the computer is
  538. booted up.
  539.  
  540. Now that we have the program configured, we can look at the different
  541. components of the program itself.
  542.  
  543.  
  544.  
  545.  
  546.  
  547. Screen Explanation
  548.  
  549. At the top left corner of the screen is the date that is being read
  550. from the ID5001.
  551.  
  552. If you have manually put readings on the screen from a different day
  553. (see Function Key chapter under F5), another date will be displayed
  554. after the present date.  This other date is labeled "Displayed Date",
  555. and is the date of the readings that are displayed on the screen.
  556.  
  557. Notice that the observations on the bottom line are still the actual
  558. observations.
  559.  
  560. At the top right center of the screen, various messages appear telling
  561. you what the program is doing.  For normal operation, there will be two
  562. numbers blinking on and off.  Each time the ID5001 is polled for
  563. information, this display will flash on and off.
  564.  
  565. The first number shows the amount of free RAM (in bytes) you have
  566. available in your system after GETWX has loaded up.  This is useful for
  567. setting up a multi - tasking program.
  568.  
  569. The second number represents the amount of free disk space in bytes you
  570. have on the disk where you're storing your observations.  This number
  571. is updated whenever an observation is stored to the disk.
  572.  
  573. If this number drops below 2000 bytes (2K), a warning message will be
  574. displayed, and an alarm will sound.
  575.  
  576. Other messages will be explained in the Options paragraph.
  577.  
  578. The second and third lines contain the information that is displayed in
  579. the respective columns.  The units that are displayed vary according to
  580. how you have the units set on the ID5001.
  581.  
  582.  
  583. Column 1: Time.  This is the time that the ID5001 is sending to the
  584.           program.  It does not depend on the PC's system clock. This
  585.           will always display the time in the 24 hour format.  08:00
  586.           will be 8:00 AM.  12:00 will be 12 noon.  13:00 will be
  587.           1:00PM.  23:00 will be 11:00 PM.  00:00 will be midnight.
  588.  
  589.  
  590.  
  591.                                   -8-
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598. Column 2: Pressure Val.  This is the atmospheric pressure reading as
  599.           displayed on the ID5001.  Although the units are not
  600.           displayed, you can change them by changing them on the ID5001.
  601.           The ID5001 can display them in mb. or inches.  To change the
  602.           units, touch the "PRESSURE" and "UNITS" keys at the same time
  603.           on the ID5001 to toggle between mb. and inches.
  604.  
  605. Column 3:  Pressure Ten.  This is the tendency of the pressure as
  606.            calculated by the ID5001.  This number is the calculated
  607.            rate of change per hour.
  608.  
  609. Column 4:  Temperatures Out.  This is the outside temperature reading.
  610.            Although the units are not displayed, you can change them on
  611.            the ID5001.  The ID5001 can display them in degrees Celsius
  612.            or degrees Fahrenheit.  To change the units touch the
  613.            "TEMPERATURE" and "UNITS" keys on the ID5001 at the same
  614.            time.  The display on the ID5001 will toggle between C and F.
  615.  
  616. Column 5:  Temperatures Ten.  This is the outside temperature tendency
  617.            as calculated by the ID5001.  This number is the calculated
  618.            rate of change per hour.
  619.  
  620. Column 6:  Temperatures In.  This is the inside temperature reading.
  621.            The same rules apply, in regards to the units that are used,
  622.            that apply to the outside temperature readings.
  623.  
  624. Column 7:  Temperatures Ten.  This is the inside temperature tendency
  625.            as calculated by the ID5001.  This number is the calculated
  626.            rate of change per hour.
  627.  
  628. Column 8:  Humidity Out.  This is the outdoor relative humidity
  629.            reading.  The units are always in percent.  Since the
  630.            humidity sensors are only accurate from 32 degrees F to 122
  631.            degrees F, and between 10% and 43% +/- 10 counts, there may
  632.            be times when the reading exceeds 100%.  The ID5001 drops
  633.            the first digit if the humidity is above 99%.  I.e.  If the
  634.            humidity reading is 104%, the ID5001 will only display 04%.
  635.            GETWX displays all three digits, or, as in this example,
  636.            would display 104.  (Although this is actually impossible to
  637.            achieve, if the humidity sensor is not calibrated properly,
  638.            you may get a reading here greater than 100%.)
  639.  
  640. Column 9:  Humidity Ten.  This is the outdoor relative humidity
  641.            tendency as calculated by the ID5001.  This number is the
  642.            calculated rate of change per hour.
  643.  
  644. Column 10:  Humidity In.  This is the indoor relative humidity.  The
  645.             units are always in percent.  The same rules apply for
  646.             humidities greater than 100% as apply for the outdoor
  647.             humidity readings. (see Column 8's explanation).
  648.  
  649. Column 11:  Humidity Ten.  This is the indoor relative  humidity
  650.             tendency as calculated by the ID5001.  This number is the
  651.             calculated rate of change per hour.
  652.  
  653.  
  654.  
  655.                                   -9-
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664. Column 12:  Wind Dir.  This is the average wind direction as calculated
  665.             by the ID5001.  There are no built in corrections for
  666.             converting to degrees true or degrees magnetic.  This
  667.             depends on how you oriented your anemometer when you
  668.             installed it.  This reading is always in degrees from north
  669.             rounded to the nearest 10 degrees.  It is the average wind
  670.             direction for the preceding 60 seconds.
  671.  
  672. Column 13:  Wind Avg.  This is the average wind speed as calculated by
  673.             the ID5001.  The units can be in miles per hour, knots, or
  674.             kilometers per hour depending on the way you have the units
  675.             set up on the ID5001.  To change the units, touch the
  676.             "WIND" and "UNITS" keys on the ID5001 repeatedly until you
  677.             see the units that you want to use displayed in the compass
  678.             rose on the LCD.  The units are not displayed on the GETWX
  679.             screen.  The number shown here is the average wind speed
  680.             for the preceding 60 seconds.
  681.  
  682. Column 14:  Wind Gst.  This reading means two things when viewed on the
  683.             screen.  On the bottom line, it displays the wind gust, as
  684.             calculated by the ID5001, at the present time.  As the
  685.             observations are saved at the interval you chose during
  686.             configuration, the saved observation scrolls up the screen.
  687.             The reading here indicates the highest gust since the
  688.             previous saved observation.  The same rules for units apply
  689.             as for the Wind Avg column (see explanation under
  690.             Column 13).  The number on the bottom line is the gust
  691.             during the previous 1 second.
  692.  
  693. Column 15:  Wind Chill.  This is the present wind chill as calculated
  694.             by the ID5001.  It is calculated using the outdoor
  695.             temperature reading, and the wind gust speed.  The same
  696.             rules apply to the units as apply for outdoor temperature.
  697.             (See explanation in Column 4.)
  698.  
  699. Column 16:  Precip. Amnt.  This is a running total of the precipitation
  700.             for the current month.  It is automatically reset to 0.00
  701.             at midnight on the last day of the month.  The units may be
  702.             in inches or in centimeters as selected on the ID5001.  To
  703.             change the units, touch the "RAIN" and "UNITS" keys
  704.             together on the ID5001 and you will see the units toggle
  705.             between cm and in on the LCD display.  The units are not
  706.             displayed on the GETWX screen.  If you are using
  707.             centimeters, the GETWX program will round off two decimal
  708.             places.  (Note that on the ID5001 these units are read out
  709.             to three decimal places).  Note that this is the
  710.             precipitation that has melted into the rain gauge.  If it
  711.             is snowing, and you don't have the equipment on your rain
  712.             gauge to melt the snow, no precipitation will be recorded
  713.             until the snow melts.
  714.  
  715. Column 17:  Precip. Rate.  This displays the instantaneous rain rate at
  716.             the time the GETWX program polls the ID5001.  It is the
  717.             rate, as calculated by the ID5001, of precipitation based
  718.             on the time between two previous pulses from the rain
  719.             gauge.  The same rules apply  to the units as for Precip
  720.             Amnt (See Column 16 for explanation).
  721.  
  722.  
  723.  
  724.                                   -10-
  725.  
  726.  
  727.  
  728.  
  729.  
  730. On the very bottom line of the display, different options are
  731. displayed, along with the number of the function key to press to invoke
  732. that option.  See Function Keys for a description of what these keys do.
  733.  
  734.  
  735.  
  736.  
  737. Routine Observations
  738.      
  739. Depending on the interval option you chose during configuration, a
  740. reading will be saved to the disk and directory you chose.
  741.  
  742. If you chose every 10 minutes, the observation will be saved at 10, 20,
  743. 30, 40, 50 minutes past each hour, as well as on the hour.
  744.  
  745. If you chose every 30 minutes, the observations will be saved at half
  746. past the hour and on the hour.
  747.  
  748. If you chose every hour, the observations will be saved once each hour,
  749. on the hour.
  750.  
  751. The Wind Gst column contains the value of the highest gust since the
  752. last observation was saved.  When the observation is saved, the high
  753. gust value is reset on the weather computer, and the high gust, along
  754. with it's time and direction, since the last observation, is saved in
  755. an auxiliary ASCII file called GUSTFILE in your data directory.
  756.  
  757. The values in the GUSTFILE file are used for retrieving the high gust
  758. for the day when the high and low information is gathered at midnight.
  759.  
  760.  
  761.  
  762.  
  763. Midnight Routine - Daily
  764.  
  765. Each night at midnight, a number of events occur.
  766.  
  767. First, the message at the top right corner of the screen will change
  768. to "Recording high and low readings".
  769.  
  770. Then, the ID5001 is polled for all it's high and low information.
  771. This includes pressure, temperature, humidity, and average wind speed.
  772. In addition, the GUSTFILE is read and sorted to find the highest gust
  773. that occurred that day.
  774.  
  775. This information is then put into the files MM-YY.TEM, MM-YY.HUM, and
  776. MM-YY.WND.  The information is also shown on the screen.
  777.  
  778. After this information has been obtained, all the high and low
  779. information (except for the high wind gust) is reset on the ID5001.
  780.  
  781. Then, the message at the top right corner of the screen changes to
  782. "Calculating averages".  The program then goes through the YYMMDD.OBS
  783. file and calculates the average pressure, temperatures, humidities,
  784. wind, and precipitation rate for the day.
  785.  
  786.  
  787.  
  788.                                   -11-
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796. This information is put into the MM-YY.AVG file.  GETWX also finds out
  797. the amount of precipitation that fell that day and puts it into the
  798. YY-MM.AVG file.  If the MM-YY.TEM, MM-YY.HUM, MM-YY.WND, or MM-YY.AVG
  799. files do not exist, they are created.
  800.  
  801. After the averages are calculated and saved, a new YYMMDD.OBS file is
  802. created and the first observation for the following day is made.
  803.  
  804. At this point, the GUSTFILE is erased, and a new one is created to save
  805. the high gust information, throughout the day, for the next midnight
  806. routine.
  807.  
  808. After this, the program makes it's pre - configured interval
  809. observations until midnight of the following night.
  810.  
  811. If you miss a midnight routine, several problems will arise.
  812.  
  813. First, the high and low information will not be reset in the ID5001.
  814. The next time a midnight routine occurs, the high and low information
  815. will reflect highs and lows since the last midnight routine occurred,
  816. or since the last time you manually reset the high and low information
  817. on the ID5001.
  818.  
  819. Since GETWX is designed to operate constantly, the dates of high and
  820. low information are not saved from the  ID5001.  Instead, they are
  821. stored in the proper row of the MM-YY.TEM, MM-YY.HUM, and YY-MM.WND
  822. files.
  823.  
  824. If you miss a midnight routine, the next time a midnight routine runs,
  825. you will have high and low information since the previous midnight
  826. routine occurred.  These will all be saved to the date that the current
  827. midnight routine is in.
  828.  
  829. If you miss a midnight routine, it will be necessary to manually record
  830. the high and low information from the ID5001 and manually reset the
  831. high and low readings on the ID5001.
  832.  
  833. You must then manually insert these readings in the MM-YY.TEM,
  834. MM-YY.HUM, and MM-YY.WND files.  Since these files are standard ASCII
  835. text files, you can modify them with any text editor.
  836.  
  837. The second problem you run into is that the GUSTFILE file will not be
  838. erased.  Since this file gets an entry put into it every time a
  839. observation is recorded, the file will contain about 1440 entries for
  840. each day (assuming you are using a 10 minute interval).
  841.  
  842. Since GETWX was designed to be small, the memory requirements for
  843. reading more than one day's worth of gustfile readings may be
  844. exhausted.  Depending on the amount of memory you have available for
  845. GETWX to work in, you may run into a problem if GUSTFILE isn't erased
  846. at midnight.  If you have too many entries in GUSTFILE, the program
  847. will terminate.  See the GUSTFILE chapter for more details.
  848.  
  849. The third problem is that the observations won't be averaged for the
  850. day.  I am working on an external program to average the readings in
  851. case this happens.
  852.  
  853.  
  854.                                   -12-
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862. Midnight Routine - Monthly
  863.  
  864. Once a month, the filenames must be changed.  At midnight on the last
  865. day of the month, new MM-YY.TEM, MM-YY.HUM, MM-YY.WND, and MM-YY.AVG
  866. files are created to reflect the new month.
  867.  
  868. In addition, the Precip. Amnt. is reset on the ID5001 to 0.00.  All the
  869. other events that happen during the daily midnight routine also occur.
  870. (See Midnight Routine - Daily).
  871.  
  872.  
  873.  
  874. Function Keys
  875.  
  876.      The function keys allow the user to interact with GETWX.  
  877.  
  878.  
  879. F1:  Remarks.  Pressing this key allows you to enter remarks in 
  880.                the YYMMDD.OBS file.  You may type up to 126
  881.                characters in the remark.
  882.  
  883.                Remarks may include such things as precipitation type,
  884.                cloud cover, visibility, or anything else you want to
  885.                put in.
  886.  
  887.                When you press <F1>, you will see a message in the
  888.                top right corner of the screen that says "Enter
  889.                your remarks (Up to 126 characters):".  This
  890.                message tells you that you are in the remarks
  891.                mode.
  892.  
  893.                Polling of the ID5001 will stop until you are done.
  894.                When  you hit the <ENTER> key, the time of the entry is
  895.                appended to the beginning of the remark. This
  896.                information is displayed on the screen, and is also
  897.                saved in the YYMMDD.OBS file.
  898.  
  899.                The remark you type will automatically be scrolled
  900.                down one line at a time.
  901.  
  902.                DO NOT PUSH THE <ENTER> KEY UNTIL YOU ARE FINISHED WITH
  903.                THE REMARK!  If you do, you must press F1 again to
  904.                continue the remark.
  905.  
  906.                Your remarks will truncate at the end of the line with
  907.                no respect to end of words.  The word will just be
  908.                continued on the next line.
  909.                For this reason, it might be better to use multiple F1
  910.                strokes and keep each one about 65 characters
  911.                long.  After you have pressed <ENTER>, the program
  912.                will resume polling the ID5001 automatically.
  913.  
  914.  
  915. F2:  End.      Pressing this key will halt the program.  You will
  916.                hear a few warning beeps from the PC's speaker and
  917.                a line will be displayed on the screen telling you
  918.                that you halted the program and the time that it
  919.                was halted.
  920.  
  921.  
  922.                                   -13-
  923.  
  924.  
  925.  
  926.  
  927.  
  928. F3:  Special   Pressing this key will poll the ID5001 for an
  929.                observation, even if it is not at the automatic
  930.                observation time.  Use this key if a weather
  931.                condition exists that you want to save and you
  932.                don't think it will exist at the next automatic
  933.                observation time.  Pressing this key will do
  934.                everything that the automatic observations do,
  935.                except it will not reset the high gust value on
  936.                the ID5001.  The only time this value is reset is
  937.                during an automatic observation.  Once the
  938.                observation has been saved, GETWX will
  939.                automatically resume polling the ID5001.
  940.  
  941.  
  942. F4:  Hi-Lo.    Pressing this hey will give you a readout on the
  943.                display of the high and low information that has
  944.                been saved by the ID5001 since the last midnight
  945.                routine took place (See Midnight Routine - Daily
  946.                above).  It will also calculate and display the
  947.                average values that have been saved on the
  948.                YYMMDD.OBS file since the beginning of the present
  949.                day.  Nothing will be saved to the disk using this
  950.                key.
  951.  
  952.  
  953. F5:  Display.  Pressing this allows you to review past data
  954.                obtained by the GETWX program.  When you press
  955.                this key, you will be shown a brief explanation of
  956.                what to type in, and a menu of choices.  The
  957.                message at the top right of your screen will
  958.                change to "Display mode".
  959.  
  960.                Different menus will appear depending on what you
  961.                entered for a date.  After the explanation on the
  962.                screen, you will be prompted to enter a date.  You must
  963.                enter the date in the correct format as described in the
  964.                paragraph on the screen.
  965.  
  966.                That is, if you want to see daily observations, you must
  967.                enter the date in the format MM-DD-YY.  To see the
  968.                present day's observations, just hit <ENTER>.
  969.                To see the high, low, or average readings for a month,
  970.                you must  enter the date as MM-YY.
  971.  
  972.                In both instances, you  must separate the day (in the
  973.                case of a daily observation request), month, and year by
  974.                a <-> (dash).
  975.  
  976.                If you enter a daily date, ( or hit <ENTER> without a
  977.                date), a menu will show up asking if you want to
  978.                see all the observations, only observations on the
  979.                half hour, or only observations made on the hour. 
  980.                Type in the number that corresponds to your choice
  981.                and the information you requested will scroll down
  982.                the screen.
  983.  
  984.  
  985.                                   -14-
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.                The information will not stop until it reaches the end
  995.                of the observations, so you may want to use your PC's
  996.                <PAUSE> or <CTRL><NUM LOCK> keys to pause the display.
  997.  
  998.                Notice that the date in the top left corner of the
  999.                display will remain at today's date, followed by the
  1000.                date that is displayed on the screen. It might be a good
  1001.                idea, after you have stopped viewing, to press
  1002.                <F5><ENTER><1> to get the present day's observations
  1003.                back on the screen to eliminate confusion.
  1004.  
  1005.                If you enter a monthly date, you will be prompted
  1006.                whether you want to see the high and low information for
  1007.                the month, or the average information for the month.
  1008.                Type in the number that corresponds to your choice and
  1009.                the information you requested will scroll down the
  1010.                screen.
  1011.  
  1012.                If you chose high and low information, you will be shown
  1013.                the high and low pressure and temperature information
  1014.                first.  The scrolling will stop at the end of this
  1015.                information, and you will be prompted to hit <ENTER> to
  1016.                see the next screen.
  1017.  
  1018.                The next screen will contain the high and low humidity
  1019.                records, and at the end, will prompt you to hit <ENTER>
  1020.                again to see the next screen.
  1021.  
  1022.                After you have hit <ENTER> again, the high and low wind
  1023.                information will scroll down the screen.  After this
  1024.                information is displayed, you will be prompted to hit
  1025.                <ENTER> again to continue.
  1026.  
  1027.                After you hit <ENTER> this time, the program will erase
  1028.                the screen, and will return to it's normal polling
  1029.                functions.  DON'T FORGET TO HIT <ENTER> AFTER YOU
  1030.                HAVE REVIEWED THE WIND INFORMATION, BECAUSE THE
  1031.                PROGRAM WILL NOT POLL THE ID5001 FOR THE ROUTINE
  1032.                OBSERVATIONS UNTIL YOU DO!
  1033.  
  1034.                If the date you have chosen is not in the directory that
  1035.                you assigned during configuration, you will be greeted
  1036.                by a message that tells you the information is not
  1037.                available.
  1038.  
  1039.                Remember that the ID5001 will not be polled until you
  1040.                are done.  The message at the top right corner of the
  1041.                screen will change back to the RAM and disk sizes when
  1042.                it is polling again.
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.                                   -15-
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060. F6:  Print     This option is not available at this time.
  1061.  
  1062.                To print out observations, high - low information, or
  1063.                average information, you can use any text editor's
  1064.                print command.  If you don't own a text editor, you may
  1065.                use DOS.  To use DOS, first make sure you are at the
  1066.                DOS prompt, and you are in the directory that your
  1067.                weather data files are located.  Then, type the
  1068.                following command:
  1069.  
  1070.                     Copy [filename] > PRN
  1071.  
  1072.                This will send the information from [filename] to
  1073.                your printer.
  1074.  
  1075.                If you want to print daily observations, substitute
  1076.                YYMMDD.OBS for [filename] in the above command.
  1077.  
  1078.                To print the high and low pressure and temperature
  1079.                information, substitute MM-YY.TEM for [filename] in the
  1080.                above command.
  1081.  
  1082.                To print high and low humidity readings, substitute
  1083.                MM-YY.HUM for [filename].
  1084.  
  1085.                To print high and low wind readings, substitute
  1086.                MM-YY.WND for [filename].
  1087.  
  1088.                To print the calculated average information, substitute
  1089.                MM-YY.AVG for [filename].
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.                           ID5SHORT.EXE
  1104.  
  1105. ID5SHORT.EXE is a abbreviated version of GETWX.  It is much smaller
  1106. than GETWX, and only makes the 10 minute routine observations that
  1107. GETWX makes.  It is designed to be loaded into memory, temporarily,
  1108. using a multi-tasking system.
  1109.  
  1110. It is very limited in what it can do, but if you are using a multi-
  1111. -tasking system, you can load ID5SHORT up without taking a lot of
  1112. valuable RAM space up.  It has a number of drawbacks from GETWX.
  1113.  
  1114.  
  1115. 1).  It does not do any of the midnight routines.  It is very
  1116.      important that you exit from ID5SHORT, and reload GETWX
  1117.      before the midnight routines occur.
  1118.  
  1119.  
  1120.                                   -16-
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126. 2).  It will only work on COM1.  If you have your ID5001 attached
  1127.      to any other COM port on your PC, it won't function.
  1128.  
  1129. 3).  You can not run GETWX and ID5SHORT at the same time.
  1130.  
  1131. 4).  It does not have any of the function key support.  The user
  1132.      cannot interact with this program in any way.  To exit the
  1133.      program, you must hit <CTRL><BREAK>.
  1134.  
  1135. 5).  It will save the observations to disk at 10 minute intervals 
  1136.      only.
  1137.  
  1138.  
  1139.      To start ID5SHORT, you must enter some options on the DOS
  1140. command line.  The form of the command is:
  1141.  
  1142.      ID5SHORT [baud] [COM port] [directory]
  1143.  
  1144. The [baud] parameter designates the baud rate you have your ID5001
  1145. set for.
  1146.  
  1147. The [COM port] parameter designates the COM port you have your ID5001
  1148. connected to on your PC.
  1149.  
  1150. The [directory] parameter refers to the directory you want to save your
  1151. observation files in.
  1152.  
  1153. For example, if you wanted to communicate through your PC's Com port
  1154. COM1 at 9600 baud, and you wanted your observations saved in the wx
  1155. directory of drive C, you would enter the following to start ID5SHORT:
  1156.  
  1157.      ID5SHORT 9600 1 c:\wx\
  1158.  
  1159. You must separate each parameter with a space.  You must also be
  1160. sure you include the drive letter, followed by a colon, as well
  1161. as putting in a "\" at the end of the directory parameter.
  1162.  
  1163. In order to keep this program as small as possible, there are no checks
  1164. incorporated into it to check your parameters.  If you enter the wrong
  1165. comport or baud, the program will probably hang and you'll have to
  1166. reboot.
  1167.  
  1168. If you enter the directory parameter improperly, the program may run
  1169. until the program attempts to save an observation to disk.  At this
  1170. point, depending on what was incorrect in the parameter, the program
  1171. may hang, or the data may be stored on your disk in the wrong
  1172. directory.
  1173.  
  1174. For these reasons, make sure you have entered the parameters correctly.
  1175.  
  1176. The only thing the ID5SHORT does is display the present conditions and
  1177. save the 10 minute observations to the disk.  However, it only uses 20K
  1178. of RAM, and allows you to run large programs in another window of a
  1179. multi-tasking program.
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.                                   -17-
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.                      ASCII FILE DESCRIPTIONS
  1194.      
  1195. There are six standard ASCII files that the GETWX program creates and
  1196. uses.  You may modify any of these files, externally, by using an
  1197. external text editor.
  1198.  
  1199. I will not attempt to show you how to use a text editor in this
  1200. document.  There are numerous good shareware and a few public domain
  1201. text editors on the market.  You can also use DOS's edlin editor,
  1202. although it is rather cumbersome.
  1203.  
  1204. Each file is named so as to describe the date (in the case of
  1205. YYMMDD.OBS) or month (in the case of MM-YY.TEM, MM-YY.HUM, MM-YY.WND,
  1206. and MM-YY.AVG) that the readings are for.
  1207.  
  1208. If you want to do your own manipulating of the files for
  1209. graphing or other purposes, the way the file is set up will be
  1210. helpful to know.  Each file is set up as a series of one line
  1211. strings followed by a carriage return / line feed.
  1212.  
  1213. The individual numbers in each row are all contained in one string.
  1214. Each number is separated by spaces.  If you attempt to import the
  1215. file into a program like Lotus 1-2-3, you must parse the file to
  1216. separate the strings into individual numbers.
  1217.  
  1218. Following are descriptions of each of the files that GETWX create and
  1219. save it's information to.
  1220.  
  1221.  
  1222. YYMMDD.OBS
  1223.  
  1224. This file contains all the routine observations.  A new YYMMDD.OBS file
  1225. is created every day.  If the file has observed all the observations
  1226. possible in a day (144), the size of this file will be 11,327 bytes
  1227. long.  Each time you make a special entry, or add a remark, you make
  1228. this file longer.
  1229.  
  1230. The format of the file is exactly the same as what shows up
  1231. on your screen when the program is running (see the screen
  1232. explanation in the GETWX10.EXE chapter).
  1233.  
  1234. I do not recommend editing this file unless you have made a mistake on
  1235. a remark entry.  The average calculations are based on this file and it
  1236. is imperative that all the numbers remain in their proper columns.
  1237.  
  1238.  
  1239. MM-YY.AVG
  1240.  
  1241. This file contains the average readings as calculated by GETWX.  This
  1242. file, when containing 31 days worth of averages, is approximately 2,680
  1243. bytes long.
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.                                   -18-
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258. Column 1:  #                  This is the number of entries from
  1259.                               the YYMMDD.OBS file that were
  1260.                               averaged.  This helps you decide if
  1261.                               the figures represent good averages
  1262.                               or not.  If you only had 20
  1263.                               observations during the day, and
  1264.                               you had configured GETWX to save
  1265.                               the observations every 10 minutes,
  1266.                               you would know that this is
  1267.                               probably not an accurate number to
  1268.                               use.
  1269.  
  1270. Column 2: Day.                The day of the month the averages 
  1271.                               were calculated for.  Notice that
  1272.                               the month and the year are
  1273.                               displayed in the top left corner of
  1274.                               the file.
  1275.  
  1276. Column 3:  Pressure           This is the average pressure for
  1277.                               the day.
  1278.  
  1279. Column 4: Temperatures Out.   Average outdoor temperature.
  1280.  
  1281. Column 5: Temperatures In.    Average indoor temperature.
  1282.  
  1283. Column 6: Humidity Out.       Average outdoor humidity.
  1284.  
  1285. Column 7: Humidity In.        Average Indoor humidity.
  1286.  
  1287. Column 8: Winds Dir.          This is the average direction of
  1288.                               wind direction reading from the 
  1289.                               YYMMDD.OBS file.  This is the
  1290.                               average of the average wind that
  1291.                               was recorded at each automatic
  1292.                               observation.
  1293.  
  1294. Column 9: Winds Avg.          This is the average speed of the 
  1295.                               average wind as recorded in the
  1296.                               YYMMDD.OBS file.
  1297.  
  1298. Column 10: Winds Gust.        This is the average speed of the
  1299.                               high wind gusts that were recorded
  1300.                               in the YYMMDD.OBS file.
  1301.  
  1302. Column 11: Wind Chill.        Average wind chill.
  1303.  
  1304. Column 12: Rain Total.        This is the total amount of melted
  1305.                               precipitation for the day.
  1306.  
  1307. Column 13: Rain rate.         The average rate of precipitation
  1308.                               as recorded in the YYMMDD.OBS file.
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.                                   -19-
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324. MM-YY.TEM
  1325.  
  1326. This file contains the high and low information for pressure and
  1327. temperature.  The file will be approximately 2,447 bytes long for 31
  1328. days worth of observations.  The high and low information recorded
  1329. reflects the first occurrence of the high or low reading during the
  1330. day.
  1331.  
  1332.  
  1333. Column 1: Day.                This is the day of the month the
  1334.                               high and low information is for. 
  1335.                               Notice the month and year are in
  1336.                               the top left corner of the screen.
  1337.  
  1338. Column 2: Pressure Hi.        The high pressure for the day.
  1339.  
  1340. Column 3: Pressure Time.      The time of day the high pressure
  1341.                               occurred.
  1342.  
  1343. Column 4: Pressure Lo         The low pressure for the day.
  1344.  
  1345. Column 5: Pressure Time       The time of day the low pressure
  1346.                               occurred.
  1347.  
  1348. Column 6: Outdoor Temp Hi     The high outdoor temperature.
  1349.  
  1350. Column 7: Outdoor temp time   The time of the high outdoor
  1351.                               temperature.
  1352.  
  1353. Column 8: Outdoor Temp Lo     The low outdoor temperature.
  1354.  
  1355. Column 9: Outdoor Temp Time   The time of the low outdoor
  1356.                               temperature.
  1357.  
  1358. Column 10: Indoor Temp Hi     The high indoor temperature.
  1359.  
  1360. Column 11: Indoor temp time   The time of the high indoor
  1361.                               temperature.
  1362.  
  1363. Column 12: Indoor temp lo     The low indoor temperature.
  1364.  
  1365. Column 13: Indoor temp time   The time of the low indoor
  1366.                               temperature.
  1367.  
  1368.  
  1369.  
  1370. MM-YY.HUM
  1371.  
  1372. This file contains the high and low humidity information for a month.
  1373. This file is approximately 1,417 bytes long for 31 days worth of
  1374. readings.  The high and low information reflects the first occurrence
  1375. of the high or low reading for the day.
  1376.  
  1377.  
  1378. Column 1: Day.                This is the day that the high and
  1379.                               low readings were recorded for. 
  1380.                               Notice the month and year are in
  1381.                               the top left corner of the screen.
  1382.  
  1383.  
  1384.                                   -20-
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390. Column 2: Outdoor Hum High    The high outdoor humidity.
  1391.  
  1392. Column 3: Outdoor hum time    The time that the high humidity was
  1393.                               reached.
  1394.  
  1395. Column 4: Outdoor hum low     The low outdoor humidity
  1396.  
  1397. Column 5: Outdoor Hum Time    The time that the low humidity was
  1398.                               reached.
  1399.  
  1400. Column 6: Indoor Hum High     The high indoor humidity.
  1401.  
  1402. Column 7: Indoor Hum Time     The time that the high indoor
  1403.                               humidity occurred.
  1404.  
  1405. Column 8: Indoor Hum low      The low indoor humidity.
  1406.  
  1407. Column 9: Indoor hum time     The time that the low humidity was
  1408.                               reached.
  1409.  
  1410.  
  1411. MM-YY.WND
  1412.  
  1413. This file contains the high and low information for winds for the
  1414. month.  This file is approximately 1,894 bytes long for 31 days worth
  1415. of information.  The high and low information recorded reflects the
  1416. first occurrence in the day of the high or low event.
  1417.  
  1418.  
  1419. Column 1 : Day                This is the day the high and low
  1420.                               information was recorded for. 
  1421.                               Notice the month and year appear in
  1422.                               the top left corner of the screen.
  1423.  
  1424. Column 2: Average Wind High   This is the high average wind
  1425.                               reading for the day.
  1426.  
  1427. Column 3: Average wind frm    This is the direction the highest 
  1428.                               recorded average wind was blowing
  1429.                               from.
  1430.  
  1431. Column 4: Average wind Time   This is the time the highest
  1432.                               average wind was recorded.
  1433.  
  1434. Column 5: Average wind low    This is the low average wind reading
  1435.                               for the day.
  1436.  
  1437. Column 6: Average wind frm    This is the direction the lowest 
  1438.                               recorded average wind was blowing
  1439.                               from.
  1440.  
  1441. Column 7: Average wind time   This is the time the low average
  1442.                               wind was recorded.
  1443.  
  1444. Column 8: Gust Wind High      This is the high wind gust for the
  1445.                               day.
  1446.  
  1447.  
  1448.  
  1449.                                   -21-
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456. Column 9: Gust wind frm       This is the direction the highest
  1457.                               recorded wind gust was blowing
  1458.                               from.
  1459.  
  1460. Column 10: Gust wind time     This is the time of the high wind
  1461.                               gust.
  1462.  
  1463. Column 11: Gust Wind Low.     This is the low wind gust for the
  1464.                               day.
  1465.  
  1466. Column 12: Gust wind frm      This is the direction the lowest
  1467.                               recorded wind gust was blowing
  1468.                               from.
  1469.  
  1470. Column 13: Gust wind time.    This is the time of the lowest wind
  1471.                               gust.
  1472.  
  1473.  
  1474. GUSTFILE
  1475.  
  1476. This file contains information that is used by the GETWX program at
  1477. midnight.  IT SHOULD NOT BE ALTERED!  This file, at the end of the day
  1478. will be approximately 1,932 bytes long.
  1479.  
  1480. It will automatically be erased at midnight, after GETWX gets the
  1481. information from it that it needs.  It will then be re-created, and a
  1482. new GUSTFILE will be started.
  1483.  
  1484. It is important that GUSTFILE be erased at midnight (GETWX does this
  1485. automatically for you), because the file will continue to grow as
  1486. observations are being made.
  1487.  
  1488. GETWX has a limit to how many entries can be held in GUSTFILE.  The
  1489. limit is dependent on how much memory you give GETWX.  If you are using
  1490. a multi-tasking system, and you have the memory size set at 74K for
  1491. GETWX, GUSTFILE can only contain about 200 entries.
  1492.  
  1493. This means that if you are saving observations every 10 minutes, and
  1494. you miss a midnight routine, and you don't erase the GUSTFILE from the
  1495. previous day, the program may abort during the subsequent midnight
  1496. routine.
  1497.  
  1498. It has been also known to hang the PC computer when this happens, and
  1499. it may have to be rebooted.  If you find yourself in this situation,
  1500. you may read the GUSTFILE file with a text editor to find the high gust
  1501. information for the previous day before you manually erase it.
  1502.  
  1503. The file is set up as follows:
  1504.  
  1505.  
  1506.      Column 1: This is the speed of the highest gust.  It is
  1507.                updated at each automatic observation, at which
  1508.                time the high gust value in the ID5001 is reset. 
  1509.                In other words, this value represents the highest
  1510.                gust since the previous observation was recorded.
  1511.  
  1512.      Column 2: This is the direction the highest gust was from.
  1513.  
  1514.  
  1515.  
  1516.                                   -22-
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.      Column 3: This is the time the highest gust was recorded. 
  1523.                Notice that each time represents the time since
  1524.                the last routine observation was made.
  1525.  
  1526.  
  1527.      Note:  If you miss a recorded observation during the day (if
  1528.      you shut down GETWX or ID5SHORT), the high gust reading will
  1529.      be since the last routine observation was made.
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538.  
  1539.  
  1540.  
  1541.  
  1542.  
  1543.  
  1544.  
  1545.                    MEMORY REQUIREMENT SUMMARY
  1546.  
  1547. Both GETWX and ID5SHORT are designed to be as small as possible.
  1548. GETWX requires about 74K of system memory.  ID5SHORT can be run in as
  1549. little as 20K of memory.
  1550.  
  1551. There are many options that ID5SHORT does not include, in order to keep
  1552. it as small as possible.
  1553.  
  1554. It is important to be sure GETWX is running at midnight to take
  1555. advantage of the high, low, and average functions of the program.
  1556. ID5SHORT does not do anything at midnight, except to record the
  1557. midnight observation.
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570.                      DISK SPACE REQUIREMENTS
  1571.  
  1572. A hard disk or a high density floppy disk makes GETWX and ID5SHORT much
  1573. easier to use than standard double density floppies.  One month's worth
  1574. of information is at least  361,507 bytes, while a 5 1/4" double sided
  1575. double density disk only can hold 360K bytes of data.
  1576.  
  1577. These numbers assume you save your observations every 10 minutes.  If
  1578. you only save them every 1/2 hour, the sizes will be smaller.
  1579.  
  1580.  
  1581.                                   -23-
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588. The following sizes are for the programs that must be on your program
  1589. disk:
  1590.  
  1591.  
  1592.      GETWX10.EXE    67,126
  1593.      ID5SHORT       14,656   (optional)
  1594.                     -------
  1595.                     81,782
  1596.  
  1597. The following sizes are for one month's worth of observations, high,
  1598. low, and average readings:
  1599.  
  1600.      For observations every 10 minutes:
  1601.  
  1602.      File           Quantity       Per file       Total
  1603.      YYMMDD.OBS     31             11,327         351,137
  1604.      MM-YY.AVG      1               2,680           2,680
  1605.      MM-YY.HUM      1               1,417           1,417
  1606.      MM-YY.WND      1               1,894           1,894
  1607.      MM-YY.TEM      1               2,447           2,447
  1608.      GUSTFILE       1               1,932           1,932
  1609.                ---------------------------------------------
  1610.                     36                            361,507
  1611.  
  1612.      For observations every half hour:
  1613.  
  1614.      File           Quantity       Per file       Total
  1615.      YYMMDD.OBS     31              3,935         121,985
  1616.      MM-YY.AVG      1               2,680           2,680
  1617.      MM-YY.HUM      1               1,417           1,417
  1618.      MM-YY.WND      1               1,894           1,894
  1619.      MM-YY.TEM      1               2,447           2,447
  1620.      GUSTFILE       1               1,932           1,932
  1621.                ---------------------------------------------
  1622.                     36                            132,355
  1623.  
  1624.      For observations only on the hour:
  1625.  
  1626.      File           Quantity       Per file       Total
  1627.      YYMMDD.OBS     31              2,087          64,697
  1628.      MM-YY.AVG      1               2,680           2,680
  1629.      MM-YY.HUM      1               1,417           1,417
  1630.      MM-YY.WND      1               1,894           1,894
  1631.      MM-YY.TEM      1               2,447           2,447
  1632.      GUSTFILE       1               1,932           1,932
  1633.                ---------------------------------------------
  1634.                     36                             75,067
  1635.  
  1636.  
  1637. These are minimums that you can expect to see on the data disk.  If you
  1638. add any remarks, or special observations, the size will increase. If
  1639. your disk fills up, the program will abort.
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.                                   -24-
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.              OPERATION USING MULTI-TASKING SOFTWARE
  1656.  
  1657. Either GETWX or ID5SHORT can be used with multi-tasking software.  It
  1658. has been tested on Desqview Ver. 2.01 in an 8088 Turbo XT and appears
  1659. to work fine.
  1660.  
  1661. The following descriptions assume you are using Desqview ver. 2.01,
  1662. however, you may use it as a guideline to help you set up other multi-
  1663. -tasking software packages.
  1664.  
  1665. You must use the AP command to add a program to your Desqview list.
  1666. The following items should be inserted in the Desqview setup windows.
  1667.  
  1668.  
  1669. Item                      GETWX                     ID5SHORT
  1670.  
  1671. Memory Size (in K):      74                       20
  1672.  
  1673. Program:                 GETWX                    ID5SHORT.EXE
  1674.  
  1675. Parameters:        LEAVE BLANK     [baud] [comport] [directory]
  1676.  
  1677. Directory:       THE DIRECTORY YOU HAVE GETWX OR ID5SHORT IN.
  1678.  
  1679. Writes Directly to screen:         N
  1680.  
  1681. Displays Graphics Information:     N
  1682.  
  1683. Can Be Swapped out of Memory:      N
  1684.  
  1685. Requires Floppy Diskette:          N
  1686.  
  1687. Press <F1> for the following commands
  1688.  
  1689. System Memory (in K):              0
  1690.  
  1691. Maximum Memory Size (in K):        0
  1692.  
  1693. Script Buffer Size:                0
  1694.  
  1695. Close on exit to DOS:              Y
  1696.  
  1697.  
  1698. The remainder of the windows can stay as they are.
  1699.  
  1700. It is important to include the .EXE extension in the "Program"
  1701. window when using ID5SHORT.  This tells Desqview not to load
  1702. another COMMAND.COM into it's window.  COMMAND.COM requires 64K
  1703. to operate.  Thus, the 20K that ID5SHORT was designed to operate
  1704. at won't work unless you add the extension.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.                                   -25-
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.                          TROUBLESHOOTING
  1722.  
  1723.      I have run into a couple of problems that have not been
  1724. worked out yet.
  1725.  
  1726.      1).  On an 8088 Turbo XT PC, 9600 baud should work fine. 
  1727.           However, if you have a faster computer, you may have to
  1728.           slow down the baud rate.  If you start the program, and
  1729.           after a few seconds all you see is the title page, (i.e.
  1730.           RAM and Disk space is not flashing in the top left
  1731.           corner of the screen), you should try slowing down the
  1732.           baud rate.  You must do this both in the configuration
  1733.           screen and manually on the ID5001.  If you are using
  1734.           ID5SHORT, you must make the change on the command line.
  1735.  
  1736.      2).  If the GUSTFILE file is allowed to grow too large (if
  1737.           you miss a midnight routine), the memory that you have
  1738.           given GETWX may not be large enough to hold all the
  1739.           information.  If this happens, the program will abort.
  1740.           Remember that ID5SHORT does not do the midnight
  1741.           routine.  You must be running GETWX at midnight for
  1742.           this routine to work.  If you find you missed a
  1743.           midnight routine, you must erase the GUSTFILE before
  1744.           the subsequent midnight routine.  Since GUSTFILE is a
  1745.           standard ASCII file, you may check for the high gust
  1746.           with a text editor before you erase the file to
  1747.           manually see what the high gust was the previous day. 
  1748.           See the GUSTFILE chapter for information on how to read
  1749.           the file.
  1750.  
  1751.      3).  With the serial card I'm using, I had to jump pins 5
  1752.           and 6 on the RS232 connector.  This is a hardware
  1753.           change, and has nothing to do with GETWX or ID5SHORT. 
  1754.           If the pins are not configured correctly, you won't be
  1755.           able to communicate with the ID5001 with any PC.  There
  1756.           is also no CTS or RTS handshaking done with this
  1757.           program.  The reason for this is that the ID5001 uses
  1758.           negative logic, while the PCs use positive logic for
  1759.           the control lines.  I'm working on a voltage invertor,
  1760.           at which time I will modify the program to use CTS /
  1761.           RTS handshaking, but you'll need a voltage invertor to
  1762.           make it work.  This will improve the reliability of the
  1763.           program, particularly during momentary AC power
  1764.           failures.
  1765.  
  1766.      4).  If your data disk fills up, or you list a non-existing
  1767.           directory on the command line of ID5SHORT, the program
  1768.           will terminate with an error.
  1769.  
  1770. If you run into any other problems, please let me know.  I'll be
  1771. glad to help.
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.                                   -26-
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.                        AUTOMATIC COMMANDS
  1788.  
  1789. It is not necessary to read this chapter, however it gives you an
  1790. insight on exactly what happens between the GETWX or ID5SHORT programs
  1791. and your ID5001 Weather Computer.  The following commands are sent to
  1792. the ID5001, and the replies that are used are listed.
  1793.  
  1794.  
  1795. Startup (GETWX and ID5SHORT)
  1796.  
  1797. The following commands are necessary so GETWX and ID5SHORT can
  1798. correctly interpret the replies sent from the ID5001.
  1799.  
  1800. Command Issued           Reply               Other
  1801.  
  1802. ATVD                     N/A                 Removes date
  1803.                                              separators generated
  1804.                                              by the ID5001.
  1805.  
  1806. ATVT                     N/A                 Removes time
  1807.                                              separators generated
  1808.                                              by the ID5001.
  1809.  
  1810. ATXCA                    N/A                 Makes sure the
  1811.                                              ID5001 isn't in the
  1812.                                              automatic mode.
  1813.  
  1814.  
  1815. Routine Observations (GETWX and ID5SHORT)
  1816.  
  1817. The following commands are sent constantly during normal operation
  1818. unless a special event is in process.  Items marked with a * are not
  1819. sent out during special observations (see the Function Key Chapter
  1820. above).
  1821.  
  1822.  
  1823. Command Issued           Reply               Other
  1824.  
  1825. ATRT                     Time
  1826.  
  1827. ATRB                     Pressure
  1828.  
  1829. ATRBr                    Pressure Tendency
  1830.  
  1831. ATRTO                    Outdoor Temperature
  1832.  
  1833. ATRTOr                   Outdoor Temperature Tendency
  1834.  
  1835. ATRTI                    Indoor Temperature
  1836.  
  1837. ATRTIr                   Indoor Temperature Tendency
  1838.  
  1839. ATRHO                    Outdoor Humidity
  1840.  
  1841. ATRHOr                   Outdoor Humidity Tendency
  1842.  
  1843. ATRHI                    Indoor Humidity
  1844.  
  1845.  
  1846.                                   -27-
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852. ATRHIr                   Indoor Humidity Tendency
  1853.  
  1854. ATRWA                    Average wind direction and speed
  1855.  
  1856. ATRWG                    Gust wind speed
  1857.  
  1858. ATRWCG                   Wind Chill
  1859.  
  1860. ATRD                     Date
  1861.  
  1862. ATRR                     Precipitation amount
  1863.  
  1864. ATRRI                    Instantaneous precipitation rate
  1865.  
  1866. ATCWGH                  *N/A                 This resets the high
  1867.                                              gust flag on the
  1868.                                              ID5001.  It is only
  1869.                                              issued during a
  1870.                                              recorded
  1871.                                              observation, and
  1872.                                              after the high gust
  1873.                                              information is saved
  1874.                                              in GUSTFILE.
  1875.  
  1876. ATCR                    *N/A                 This rests the
  1877.                                              precipitation total
  1878.                                              to 0.00 on the
  1879.                                              ID5001.  It is only
  1880.                                              issued during the
  1881.                                              first routine
  1882.                                              observation, at
  1883.                                              midnight on the
  1884.                                              first day of the
  1885.                                              month.
  1886.  
  1887.  
  1888.  
  1889. Midnight Routine (GETWX only)
  1890.  
  1891. The following commands are issued at midnight.  All commands except
  1892. those designated with a ** are also sent when you press the F4 key.
  1893. (See Function Keys above for more information).
  1894.  
  1895.  
  1896. Command Issued           Reply
  1897.  
  1898. ATRBH                    Highest pressure and time of occurrence
  1899.  
  1900. ATRBL                    Lowest pressure and time of occurrence
  1901.  
  1902. ATRTOH                   High outdoor temperature and time of
  1903.                          occurrence.
  1904.  
  1905. ATRTOL                   Low outdoor temperature and time of
  1906.                          occurrence.
  1907.  
  1908. ATRTIH                   High indoor temperature and time of
  1909.                          occurrence.
  1910.  
  1911.  
  1912.                                   -28-
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918. ATRTIL                   Low indoor temperature and time of
  1919.                          occurrence.
  1920.  
  1921. ATRHOH                   High outdoor humidity and time of
  1922.                          occurrence
  1923.  
  1924. ATRHOL                   Low outdoor humidity and time of
  1925.                          occurrence.
  1926.  
  1927. ATRHIH                   High indoor humidity and time of
  1928.                          occurrence.
  1929.  
  1930. ATRHIL                   Low indoor humidity and time of
  1931.                          occurrence.
  1932.  
  1933. ATRWAH                   High average wind speed, direction, and
  1934.                          time of occurrence.
  1935.  
  1936. ATRWAL                   Low average wind speed, direction, and
  1937.                          time of occurrence.
  1938.  
  1939. ATRWGL                   Low gust wind speed, direction, and time
  1940.                          of occurrence.
  1941.  
  1942.  
  1943. At this point, GETWX gets the high gust information from
  1944. GUSTFILE, **then erases GUSTFILE.
  1945.  
  1946. Averages are now calculated from the YYMMDD.OBS file  The rain
  1947. amount for the day is made from subtracting the last reading for
  1948. the day from the first reading.
  1949.  
  1950. Command Issued         Reply                 Other
  1951.  
  1952. ATCBH                  **N/A                 Clears high
  1953.                                              barometer reading
  1954.  
  1955. ATCBL                  **N/A                 Clears low barometer
  1956.                                              reading.
  1957.  
  1958. ATCHIH                 **N/A                 Clears the high
  1959.                                              indoor temperature
  1960.                                              reading.
  1961.  
  1962. ATCHIL                 **N/A                 Clears the low
  1963.                                              indoor temperature
  1964.                                              reading.
  1965.  
  1966. ATCHOH                 **N/A                 Clears the high
  1967.                                              outdoor humidity
  1968.                                              reading.
  1969.  
  1970. ATCHOL                 **N/A                 Clears the low
  1971.                                              outdoor humidity
  1972.                                              reading.
  1973.  
  1974.  
  1975.  
  1976.  
  1977.                                   -29-
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984. ATCTIH                 **N/A                 Clears the high
  1985.                                              indoor temperature
  1986.                                              reading.
  1987.  
  1988. ATCTIL                 **N/A                 Clears the low
  1989.                                              indoor temperature
  1990.                                              reading.
  1991.  
  1992. ATCTOH                 **N/A                 Clears the high
  1993.                                              outdoor temperature
  1994.                                              reading.
  1995.  
  1996. ATCTOL                 **N/A                 Clears the low
  1997.                                              outdoor temperature
  1998.                                              reading.
  1999.  
  2000. ATCWAH                 **N/A                 Clears the high
  2001.                                              average wind
  2002.                                              reading.
  2003.  
  2004. ATCWAL                 **N/A                 Clears the low
  2005.                                              average wind
  2006.                                              reading.
  2007.  
  2008. ATCWGL                 **N/A                 Clears the low gust
  2009.                                              wind reading.
  2010.  
  2011.  
  2012.  
  2013.  
  2014.  
  2015.  
  2016.  
  2017.  
  2018.  
  2019.  
  2020.  
  2021.  
  2022.                            DISCLAIMER
  2023.  
  2024. I have done my best in assuring that this program will operate as
  2025. described, and will not damage any equipment.  However, things may
  2026. happen that may be in or out of my control.  Therefore, you will use
  2027. this software at your own risk.  The author, or anybody distributing
  2028. this software, is not responsible for ANYTHING that may happen to
  2029. ANYTHING or ANYONE as a result of using this software.  By using this
  2030. software, you agree to the above paragraph.
  2031.  
  2032.      Thank you for trying GETWX!
  2033.  
  2034.  
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.                                   -30-
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.                         ACKNOWLEDGEMENTS
  2051.  
  2052. There are many people that I would like to thank for helping me along
  2053. with this project, one of which is David Boyd, who developed the
  2054. configuration part of the program, and who has continually helped in
  2055. the testing of the software and tirelessly reading the documentation.
  2056.  
  2057.  
  2058.  
  2059.  
  2060.  
  2061.  
  2062.                            ORDER FORM
  2063.  
  2064. This software is distributed as shareware, and is not free.  You
  2065. may try it for a reasonable amount of time (60 days maximum) to
  2066. evaluate it and decide if you want to continue to use it.  After
  2067. that time, you must either complete the attached order form and
  2068. mail it to the author, along with $25.00 in cash, check, or money
  2069. order, or destroy this program.
  2070.  
  2071. When your registration is received, you will be put on the list, and
  2072. will be notified by mail of any future upgrades.  The upgrades will be
  2073. sent to you for the price of a disk and postage.
  2074.  
  2075.  
  2076. -------------------------------------------------------------
  2077. -------------------------------------------------------------
  2078.  
  2079.  
  2080. Name________________________________________________________
  2081.  
  2082.  
  2083. Street
  2084. Address_____________________________________________________
  2085.  
  2086.  
  2087. City, State,
  2088. Zip________________________________________________________
  2089.  
  2090.  
  2091. Enclosed is $25.00 to cover the cost of GETWX and the supporting
  2092. programs, and notifications of future updates to this software.
  2093.  
  2094.  
  2095.  
  2096.  
  2097.                                   -31-
  2098.